[project]
name = "{{ dist_name }}"
version = "{{ version }}"
description = "{{ description }}"
authors = [
  { name = "{{ author_name }}", email = "{{ author_email }}" }
]
license = { text = "{{ license }}" }
readme = "README.md"
requires-python = ">={{ python_min }}"
dependencies = [
  "mcp>=1.0.0",
  "pydantic>=2.5.0",
]

[project.optional-dependencies]
dev = [
  "pytest>=7.0.0",
  "pytest-asyncio>=0.21.0",
  "pytest-cov>=4.0.0",
  "black>=23.0.0",
  "mypy>=1.5.0",
  "ruff>=0.0.290",
]

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.hatch.build.targets.wheel]
packages = ["src/{{ package_name }}"]

[project.scripts]
{{ package_name }} = "{{ package_name }}.server:main"

[tool.black]
line-length = 100
target-version = ["py{{ python_min|replace('.', '') }}"]

[tool.mypy]
python_version = "{{ python_min }}"
strict = true
warn_return_any = true
warn_unused_configs = true

[tool.ruff]
line-length = 100
target-version = "py{{ python_min|replace('.', '') }}"
select = ["E", "W", "F", "B", "I", "N", "UP"]

[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
addopts = "--cov={{ package_name }} --cov-report=term-missing"

